package com.agiantii.ablog.handler.article.filter;

import com.agiantii.ablog.pojo.dto.PostDTO;


public interface ContentFilter {


    void doFilter(PostDTO content) throws IllegalArgumentException;


    default String getName() {
        return this.getClass().getSimpleName();
    }


    default String getDescription() {
        return "";
    }

    default boolean isEnabled() {
        return true;
    }
}